package com.hien.starting;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class AprilFoolActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	setContentView(R.layout.main);
	Thread timer = new Thread() {
	    public void run() {
		try {
		    sleep(3000);

		} catch (Exception e) {
		    e.printStackTrace();
		} finally {
		    Intent intent = new Intent(AprilFoolActivity.this,
			    FoolTabActivity.class);
		    startActivity(intent);

		}
	    }
	};
	timer.start();
    }
}